Browser Screenshot
Command Prototype
WebBrowser.ScreenShot(hWeb,sPath,objRect,optionArgs)
Command Description
Screenshot for the browser
Parameter Description
- Required Parameter
- hWeb--Browser's handle string returned with WebBrowser.Create or WebBrowser.Bind functions
- sPath--The file path where the screenshot was saved
- objRect--The rectangle area the screenshot, if a null is passed, capture the display area of the entire browser
- Optional Parameter
- bContinueOnError--Specify whether automation should continue if the activity throws an error. This field only supports Boolean values (True, False). The default is False
- iDelayAfter--The delay in milliseconds after the activity is executed. The default is 300 milliseconds
- iDelayBefore--The delay in milliseconds before the activity starts any operation. The default is 200 milliseconds